#pragma once
#include "afxwin.h"
#include "afxcmn.h"


// CDVBTableDialog dialog

class CDVBTableDialog : public CDialog
{
	DECLARE_DYNAMIC(CDVBTableDialog)

public:
	CDVBTableDialog(CWnd* pParent = NULL);   // standard constructor
	virtual ~CDVBTableDialog();

// Dialog Data
	enum { IDD = IDD_DVB_TABLE };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()
public:
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	virtual BOOL OnInitDialog();
	CListBox m_TableList;
	CTreeCtrl m_TableTree;
private:
	BOOL DrawTable(void);
public:
	afx_msg void OnBnClickedButNewTable();
	afx_msg void OnBnClickedButTableApply();
	afx_msg void OnLbnSelchangeListTable();
};
